<?
   require_once('config.php');
   $hot = getValue('hot','int','POST',0);
   $img_id = getValue('img_id','int','POST',0);
   $db_exe = new db_execute('UPDATE
                                 xinh_images
                              SET
                                 hot='. $hot.'
                              WHERE
                                 id =' . $img_id);
?>